# John Severson
# C14512640
# lab 11
# 11/15/22
# CPSC 1011 section 001
# This is a make file for my lab11 program, it allows me to compile all of the
# files at once using a simple command.

lab11: mainDriver.c getHeader.c fillImageArray.c writeHeader.c writePixels.c \
defs.h
	gcc -Wall -o lab11 mainDriver.c getHeader.c fillImageArray.c writeHeader.c \
	writePixels.c defs.h

#run has a dependency: lab1
#lab 11 comes from the first line, the compilation
run: lab11
	./lab11  Disney.pnm smallerDisney.pnm

clean:
	rm lab11
		
